package com.tedu.service;

import com.tedu.pojo.Article;
import com.tedu.pojo.ResultVO;

import java.util.List;

/**
 * Author：毕龙
 * Date: 2023/12/23 9:41
 */
public interface ArticleService {


    /*查询所有的文章*/
    ResultVO<Article> listArticle();


    ResultVO<String> insertArticle(Article article);

    ResultVO<Article> getArticleById(Integer id);

    ResultVO<Article> updateArticleById(Article article);

    ResultVO<Article> deleteArticleById(Integer id);
}
